package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.article.pojos.ApArticle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * APP已发布文章内容表 Mapper 接口
 * </p>
 *
 * @author QLJ
 * @since 2022-08-30
 */
public interface ApArticleMapper extends BaseMapper<ApArticle> {

    //加载文章
    List<ApArticle> loadApArticle(@Param("articleDto") ArticleDto articleDto,@Param("type") Integer type);
}
